import request from '@/utils/request'
// 查询套餐列表
export function addOrder(data) {
    return request({
      url: '/order',
      method: 'post',
      data
    });
  }

export function listOrder() {
  return request({
    url: '/order/list',
    method: 'get',
  });
}

export function listReport() {
  return request({
    url: '/order/report',
    method: 'get',
  });
}

export function cancelOrder(id) {
  return request({
    url: '/order/'+id,
    method: 'delete',
  });
}